<template>
  <div>
    <slot :a="a" :b="b"></slot>
    <slot name="header" :header="header"></slot>
  </div>
</template>
<script>
export default{
  data(){
    return {
      a : 1,
      b : 2,
      header : {
        text : '这里是标题'
      }
    }
  },
  methods : {
  },
  mounted(){
  }
}
</script>
